package org.qsoft.ext;

/**
 * @author kk
 *
 */
public class FormResult {

	private String message;
	private boolean success;

	private Object data;

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public FormResult(String message, boolean success, Object result) {
		super();
		this.message = message;
		this.success = success;
		this.data = result;
	}

}
